package com.film.domain;

public class Hobby {
	 private int h_id;//爱好id
	 private String h_name;//爱好名称
	public int getH_id() {
		return h_id;
	}
	public void setH_id(int h_id) {
		this.h_id = h_id;
	}
	public String getH_name() {
		return h_name;
	}
	public void setH_name(String h_name) {
		this.h_name = h_name;
	}
	public Hobby(int h_id, String h_name) {
		this.h_id = h_id;
		this.h_name = h_name;
	}
	public Hobby(String h_name) {
		this.h_name = h_name;
	}
	public Hobby() {
	}
	@Override
	public String toString() {
		return "Hobby [h_id=" + h_id + ", h_name=" + h_name + "]";
	}
	 
}
